﻿#region Copyright (C) Sector7 Software Studio. All rights reserved
/*******************************************************************************************
 * Creation
 *      Author:         Wolf Lai
 *      Date:           2013/6/14 星期五 21:07:23
 *      Version:        
 * Modification 
 *      Author: 
 *      Date: 
 *      Description: 
 *      Version:
 *******************************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using Sector7.Framework.Core;

namespace Sector7.Framework.EntityType
{
    /// <summary>
    /// 个人信息实体类
    /// </summary>
    [Serializable()]
    [DataContract]
    public class S7_Citizen : EntityBase
    {
        #region Accessor

        /// <summary>
        /// 获取或设置个人唯一编码
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string CitizenId { get; set; }

        /// <summary>
        /// 获取或设置个人全名
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string FullName { get; set; }

        /// <summary>
        /// 获取或设置性别代码
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string GenderId { get; set; }

        /// <summary>
        /// 获取或设置出生日期
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public DateTime Birthday { get; set; }

        /// <summary>
        /// 获取或设置身份证件类别代码
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string IdentityTypeId { get; set; }

        /// <summary>
        /// 获取或设置身份证件号码
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string IdentityId { get; set; }

        /// <summary>
        /// 获取或设置工作单位名称
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string WorkingUnitName { get; set; }

        /// <summary>
        /// 获取或设置固定电话号码
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string Telephone { get; set; }

        /// <summary>
        /// 获取或设置移动电话号码
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string Mobilephone { get; set; }

        /// <summary>
        /// 获取或设置联系人姓名
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string ContacterName { get; set; }

        /// <summary>
        /// 获取或设置联系人电话号码
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string ContacterPhone { get; set; }

        /// <summary>
        /// 获取或设置联系人与个体之间的关系代码
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string ContacterRelationId { get; set; }

        /// <summary>
        /// 获取或设置常住地址是否为户籍地址
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public bool CurrentAddrIsPermanent { get; set; }

        /// <summary>
        /// 获取或设置名族代码
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string EthnicId { get; set; }

        /// <summary>
        /// 获取或设置学历代码
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string EducationId { get; set; }

        /// <summary>
        /// 获取或设置职业类别代码
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string VocationId { get; set; }

        /// <summary>
        /// 获取或设置婚姻状况代码
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string MaritalStatusId { get; set; }

        /// <summary>
        /// 获取或设置国籍代码
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string NationalityId { get; set; }

        /// <summary>
        /// 获取或设置籍贯
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string Birthplace { get; set; }

        /// <summary>
        /// 获取或设置户籍地址
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string PermanetAddr { get; set; }

        /// <summary>
        /// 获取或设置户籍地邮编
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string PermanetPostcode { get; set; }

        /// <summary>
        /// 获取或设置居住地址
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string CurrentAddr { get; set; }

        /// <summary>
        /// 获取或设置居住地邮编
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string CurrentPostcode { get; set; }

        /// <summary>
        /// 获取或设置拼音码
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string SpellCode { get; set; }

        /// <summary>
        /// 获取或设置登录系统用户名
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string Username { get; set; }

        /// <summary>
        /// 获取或设置年龄字符串
        /// </summary>
        [DataMember]
        public string AgeStr { get; set; }

        /// <summary>
        /// 获取或设置性别字符串
        /// </summary>
        [DataMember]
        public string GenderStr { get; set; }

        /// <summary>
        /// 获取或设置出生日期字符串
        /// </summary>
        [DataMember]
        public string BirthdayStr { get; set; }

        #endregion
    }
}
